﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpDom.Mvc;

namespace Bzure.Apps.Security.ViewModels
{
    public interface IViewBuilder
    {
        Func<SiteMaster> MasterBuilder { get; set; }
    }
    public class ViewBuilder<T> :IViewBuilder where T : IPageViewModel
    {
        public Func<T, SharpDomView<T>> PageBuilder { get; set; }
        public Func<SiteMaster> MasterBuilder { get; set; }
    }
}
